package com.shzu.mapper;

import com.shzu.pojo.NationalMajor;
import com.shzu.pojo.NationalMajorExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface NationalMajorMapper {
    int countByExample(NationalMajorExample example);

    int deleteByExample(NationalMajorExample example);

    int deleteByPrimaryKey(String nationalmid);

    int insert(NationalMajor record);

    int insertSelective(NationalMajor record);

    List<NationalMajor> selectByExample(NationalMajorExample example);

    NationalMajor selectByPrimaryKey(String nationalmid);

    int updateByExampleSelective(@Param("record") NationalMajor record, @Param("example") NationalMajorExample example);

    int updateByExample(@Param("record") NationalMajor record, @Param("example") NationalMajorExample example);

    int updateByPrimaryKeySelective(NationalMajor record);

    int updateByPrimaryKey(NationalMajor record);
}